package com.scpii.universal.pns.hibernate.entity;


/**
 * UserPointRanks entity. @author MyEclipse Persistence Tools
 */

public class UserPointRanks implements java.io.Serializable {

	// Fields
	private static final long serialVersionUID = -3709617114924998847L;
	private Long id;
	private String rankName;
	private String createDt;
	private Long createBy;
	private String updateDt;
	private Long updateBy;
	private Long minPoints;
	private Long maxPoints;
	private Short discount;
	private String rankImg;
	private Long appid;

	// Constructors

	/** default constructor */
	public UserPointRanks() {
	}

	/** minimal constructor */
	public UserPointRanks(String rankName, Long minPoints, Long maxPoints,
			Short discount, Long appid) {
		this.rankName = rankName;
		this.minPoints = minPoints;
		this.maxPoints = maxPoints;
		this.discount = discount;
		this.appid = appid;
	}

	/** full constructor */
	public UserPointRanks(String rankName, String createDt, Long createBy,
			String updateDt, Long updateBy, Long minPoints, Long maxPoints,
			Short discount, String rankImg, Long appid) {
		this.rankName = rankName;
		this.createDt = createDt;
		this.createBy = createBy;
		this.updateDt = updateDt;
		this.updateBy = updateBy;
		this.minPoints = minPoints;
		this.maxPoints = maxPoints;
		this.discount = discount;
		this.rankImg = rankImg;
		this.appid = appid;
	}

	// Property accessors

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getRankName() {
		if (this.rankName==null)
			return "";
		return this.rankName;
	}

	public void setRankName(String rankName) {
		this.rankName = rankName;
	}

	public String getCreateDt() {
		return this.createDt;
	}

	public void setCreateDt(String createDt) {
		this.createDt = createDt;
	}

	public Long getCreateBy() {
		return this.createBy;
	}

	public void setCreateBy(Long createBy) {
		this.createBy = createBy;
	}

	public String getUpdateDt() {
		return this.updateDt;
	}

	public void setUpdateDt(String updateDt) {
		this.updateDt = updateDt;
	}

	public Long getUpdateBy() {
		return this.updateBy;
	}

	public void setUpdateBy(Long updateBy) {
		this.updateBy = updateBy;
	}

	public Long getMinPoints() {
		return this.minPoints;
	}

	public void setMinPoints(Long minPoints) {
		this.minPoints = minPoints;
	}

	public Long getMaxPoints() {
		return this.maxPoints;
	}

	public void setMaxPoints(Long maxPoints) {
		this.maxPoints = maxPoints;
	}

	public Short getDiscount() {
		return this.discount;
	}

	public void setDiscount(Short discount) {
		this.discount = discount;
	}

	public String getRankImg() {
		return this.rankImg;
	}

	public void setRankImg(String rankImg) {
		this.rankImg = rankImg;
	}

	public Long getAppid() {
		return this.appid;
	}

	public void setAppid(Long appid) {
		this.appid = appid;
	}

}